package Class;

public class ClassForStatic {
    static int count= 0;
    static{
        count++;
    }

    public ClassForStatic(){
        count ++;
    }

    public static void main(String[] args) {
        ClassForStatic class1 = new ClassForStatic();
        ClassForStatic class2 = new ClassForStatic();
        System.out.println(ClassForStatic.count);
    }
}
